a11y: Move ATContext to an explicit realization model
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 19 Oct 2020 16:44:50 +0000 (17:44 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 4 Nov 2020 15:02:44 +0000 (15:02 +0000)
commit30210c7087bd635e6a84db33b37d10d83684ebad
treed24a3c55e669942c4867fc810bffbd2716d4e7b6
parent499e4b4c50e798fd917dc14e5a68bbd2b65a8135
a11y: Move ATContext to an explicit realization model

We are doing too much work during the construction phase of the
AT-SPI backend for GtkATContext. Instead of having the AtSpiContext
register itself at construction time, let's add explicit realize
and unrealize operations, and connect the ATContext realization to the
rooting operation of a GtkWidget.
gtk/a11y/gtkatspicontext.c
gtk/a11y/gtkatspiroot.c
gtk/a11y/gtkatspirootprivate.h
gtk/gtkatcontext.c
gtk/gtkatcontextprivate.h
gtk/gtkwidget.c